const verifyConfig = {
    id: {},
    
    username: {
        rules: [
            {
                type: "NOT-NULL",
                help: "用户名不为空",
            },
            {
                type: "LENGTH-LIMIT",
                help: "用户名长度最长为64位",
                maxLength: 64,
                minLength: 0,
            },
        ]
    },

    password: {
        rules: [
            {
                type: "NOT-NULL",
                help: "密码不为空",
            },
            {
                type: "LENGTH-LIMIT",
                help: "密码长度最长为64位",
                maxLength: 64,
                minLength: 0,
            },
        ]
    },

    nickname: {
        rules: [
            {
                type: "NOT-NULL",
                help: "昵称不为空",
            },
            {
                type: "LENGTH-LIMIT",
                help: "昵称长度最长为64位",
                maxLength: 64,
                minLength: 0,
            },
        ]
    },

    address: {
        rules: [
            {
                type: "LENGTH-LIMIT",
                help: "地址长度最长为255位",
                maxLength: 255,
                minLength: 0,
            },
        ]
    },

    info: {
        rules: [
            {
                type: "LENGTH-LIMIT",
                help: "简介长度最长为255位",
                maxLength: 255,
                minLength: 0,
            },
        ]
    },

    sex: {
        rules: [
            {
                type: "LENGTH-LIMIT",
                help: "性别长度最长为2位",
                maxLength: 2,
                minLength: 0,
            },
        ]
    },

    phone: {
        rules: [
            {
                type: "LENGTH-LIMIT",
                help: "手机号长度最长为20位",
                maxLength: 20,
                minLength: 0,
            },
        ]
    },

    email: {
        rules: [
            {
                type: "LENGTH-LIMIT",
                help: "邮箱长度最长为255位",
                maxLength: 255,
                minLength: 0,
            },
        ]
    },

    avatar: {
        rules: [
            {
                type: "LENGTH-LIMIT",
                help: "头像长度最长为255位",
                maxLength: 255,
                minLength: 0,
            },
        ]
    },

    status: {},
    updateTime: {},
    createTime: {},
}

export default verifyConfig;